package com.hp.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data @NoArgsConstructor
@AllArgsConstructor
@Builder
public class Section {
    private Long id;
    private Long courseId;             // FK -> course.id
    private String title;
    private Integer orderNo;           // 课程内顺序唯一
    private Date createdAt;
}
